/*
 * @Author       : wang chao
 * @Date         : 2023-01-15 19:36:59
 * @LastEditors: wangchao
 * @LastEditTime: 2024-10-02 19:53:45
 * @FilePath: \JD-RTT-Driver\applications\u_app_inite.h
 * @Description  :
 * Copyright 2023 BingShan, All Rights Reserved.
 */
#ifndef MAIN_H_
#define MAIN_H_

#include <rtdevice.h>
#include <rtthread.h>
#include "board.h"

#define DBG_TAG "MAIN"
#define DBG_LVL DBG_INFO
#include <rtdbg.h>

extern void system_func_params_init(void);
extern void system_eth_net_init(void);

/*
    application thread list
*/
extern int bms_port_din_detect_thread(void);
extern int bms_ai_sensor_detect_thread(void);
extern int bms_mbtcp_slave_on_serial_thread(void);
extern int bms_pcs_mbtcp_master_thread(void);
extern int bms_volt_mbrtu_master_thread(void);
extern int bms_device_rtu_master_thread(void);
extern int bms_exception_event_thread(void);
//
extern void app_core_runner(void);
extern void reset_manual_freq_data(void);

#endif
